package com.flower.sequence.segment;

import com.flower.sequence.service.SegmentGenerator;

/**
 * @author shanks on 2019-10-12
 */

public class FixedStringSegmentGenerator implements SegmentGenerator {

    /**
     * 固定字符串
     */
    private String segmentString;
    /**
     * 固定字符串长度
     */
    private int    length;

    @Override
    public String getStringSegment() {
        return this.segmentString;
    }

    public void setSegmentString(String segmentString) {
        this.segmentString = segmentString;
    }

    public void setLength(int length) {
        this.length = length;
    }
}
